from django.db import models

class Collection(models.Model):
    name = models.CharField(max_length=100) 
    description = models.TextField(null=True)
    cover = models.CharField(max_length=200)

    def __unicode__(self):
        return self.name
    
    def __str__(self):
        return self.name

    class Meta:
        db_table = 'Collections'